import { setDesignResolution, setUIResolution } from "../utils/CanvasUtil";

const { ccclass, property } = cc._decorator;

@ccclass
export default class SceneBase extends cc.Component {

    @property([cc.Node])
    uiNodes: cc.Node[] = [];

    _eventList: any = {};// { string: Function }

    onLoad() {
        setDesignResolution();
        setUIResolution(this.uiNodes);
    }

    start() {
    }
}
